home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / languages / pcq_incl3v1.lha / Graphics / Display.i < prev    next >
Encoding:
Text File  |  1994-04-15  |  982 b   |  41 lines

  1. {
  2.     Display.i for PCQ Pascal
  3.  
  4.     include define file for display control registers 
  5. }
  6.  
  7. const
  8.  
  9. { bplcon0 defines }
  10.  
  11.     MODE_640    = $8000;
  12.     PLNCNTMSK   = $7;           { how many bit planes? }
  13.                                 { 0 = none, 1->6 = 1->6, 7 = reserved }
  14.     PLNCNTSHFT  = 12;           { bits to shift for bplcon0 }
  15.     PF2PRI      = $40;          { bplcon2 bit }
  16.     COLORON     = $0200;        { disable color burst }
  17.     DBLPF       = $400;
  18.     HOLDNMODIFY = $800;
  19.     INTERLACE   = 4;            { interlace mode for 400 }
  20.  
  21. { bplcon1 defines }
  22.  
  23.     PFA_FINE_SCROLL             = $F;
  24.     PFB_FINE_SCROLL_SHIFT       = 4;
  25.     PF_FINE_SCROLL_MASK         = $F;
  26.  
  27. { display window start and stop defines }
  28.  
  29.     DIW_HORIZ_POS       = $7F;  { horizontal start/stop }
  30.     DIW_VRTCL_POS       = $1FF; { vertical start/stop }
  31.     DIW_VRTCL_POS_SHIFT = $7;
  32.  
  33. { Data fetch start/stop horizontal position }
  34.  
  35.     DFTCH_MASK  = $FF;
  36.  
  37. { vposr bits }
  38.  
  39.     VPOSRLOF    = $8000;
  40.  
  41.